Provider

interface Provider

Interface for an object capable of providing an Instrument.

Inheritors

Functions

Link copied to clipboard
abstract fun <I : Instrument> getInstrument(instrumentClass: Class<I>): I?

Gets an instrument.

abstract fun <I : Instrument> getInstrument(instrumentClass: Class<I>, observer: Ref.Observer<I>): Ref<I>

Gets an instrument and registers an observer notified each time it changes.